package hero.mps.web.sys_role.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import hero.mps.web.sys_role.entity.AssignParam;
import hero.mps.web.sys_role.entity.AssignVO;
import hero.mps.web.sys_role.entity.RoleParam;
import hero.mps.web.sys_role.entity.SysRole;

public interface SysRoleService extends IService<SysRole> {
    /**
     * 获取系统角色信息
     * @param roleParam
     * @return
     */
    IPage<SysRole> list(RoleParam roleParam);

    /**
     * 获取角色权限的回显
     * @param assignParam
     * @return
     */
    AssignVO getAssignVOShow(AssignParam assignParam);
}
